package com.koron.device.bean;

import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ClassifyBean extends PageQuery {

    @ApiModelProperty(value = "分类id")
    private String id;

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "父级分类id")
    private String parentId;

    @ApiModelProperty(value = "父级分类名称")
    private String parentName;

    @ApiModelProperty(value = "是否绑定了备品")
    private String isBind;

    @ApiModelProperty(value = "子节点")
    private List<ClassifyBean> children;


    @ApiModelProperty(value = "组织层级 字典")
    private String level;

    @ApiModelProperty(value = "组织层级路径")
    private String levelPath;

    @ApiModelProperty(value = "组织层级路径")
    private String levelPathName;

    @ApiModelProperty(value = "组织类型 字典")
    private String type;

    @ApiModelProperty(value = "编码前缀")
    private String prefix;

    @ApiModelProperty(value = "组织所属子应用id")
    private String appid;

    @ApiModelProperty(value = "组织所属子应用名称")
    private String appName;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

}
